www.gusucode.com > 搜索动力2010 v4.9 > 搜索动力2010 v4.9\code\config.asp

    <%
on error resume next
dim conn
dim connstr
set conn=server.CreateObject("adodb.connection")
DBPath = Server.MapPath("data/zxsoudata.asp")
conn.open "provider=microsoft.jet.oledb.4.0; data source="&DBpath
If Err Then
    Response.Write("数据库连接异常,请检查。")
    Response.End
End If
%>
<% 
sql="select * from zxsou_config"
Set zxsou_config=Server.CreateObject("ADODB.RecordSet") 
zxsou_config.Open sql,conn,1,1
indextitle=zxsou_config("indextitle")
name=zxsou_config("name")
domain=zxsou_config("domain")
weburl=zxsou_config("weburl")
staticurl=zxsou_config("staticurl")
adminurl=zxsou_config("adminurl")
sysurl=zxsou_config("sysurl")
navigation=zxsou_config("navigation")
stat=zxsou_config("stat")
statview=zxsou_config("statview")
icp=zxsou_config("icp")
mode=zxsou_config("mode")
notice=zxsou_config("notice")
authorize=zxsou_config("authorize")
skin=zxsou_config("skin")
bespeak_skin=zxsou_config("bespeak_skin")
bespeak_time=zxsou_config("bespeak_time")
bespeak_check=zxsou_config("bespeak_check")
showtop=zxsou_config("showtop")
ifrmheight=zxsou_config("ifrmheight")
weathershow=zxsou_config("weathershow")
handwrite=zxsou_config("handwrite")
cloudinput=zxsou_config("cloudinput")
scrollshow=zxsou_config("scrollshow")
changenav=zxsou_config("changenav")
indexfocus=zxsou_config("indexfocus")
formtarget=zxsou_config("formtarget")
searchtype=zxsou_config("searchtype")
timediff=zxsou_config("timediff")
indexkeywords=zxsou_config("indexkeywords")
indexdescription=zxsou_config("indexdescription")
key_web=zxsou_config("key_web")
key_photo=zxsou_config("key_photo")
key_music=zxsou_config("key_music")
key_video=zxsou_config("key_video")
key_game=zxsou_config("key_game")
key_know=zxsou_config("key_know")
key_other=zxsou_config("key_other")
searchsug=zxsou_config("searchsug")
siteshow=zxsou_config("siteshow")
festivalshow=zxsou_config("festivalshow")
sethomepage=zxsou_config("sethomepage")
ranklink=zxsou_config("ranklink")
mobilelink=zxsou_config("mobilelink")
mobileurl=zxsou_config("mobileurl")
getcode=zxsou_config("getcode")
adminlink=zxsou_config("adminlink")
ico=zxsou_config("ico")
find=zxsou_config("find")
adcode=zxsou_config("adcode")
adshow=zxsou_config("adshow")
adcode_search=zxsou_config("adcode_search")
adshow_search=zxsou_config("adshow_search")
friendlink=zxsou_config("friendlink")
webmaster=zxsou_config("webmaster")
chinesego=zxsou_config("chinesego")
serverline=zxsou_config("serverline")
synchronup=zxsou_config("synchronup")
prhelp=zxsou_config("prhelp")
%>